<template>
  <div>
      我是A：{{a}}

  </div>
</template>

<script>
export default {
  name: 'train',
  demo: '自定义属性',
  data() {
    return {
      a: "123"
    }
  },
  methods: {
    btn() {
      console.log(this.$children);
      
    },

    testBroadCast (componentName, eventName, params) {

    }
  },
  mounted() {
  	this.btn();	
  }
}
</script>

<style>

</style>